package com.onlyone.repository;

import com.onlyone.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserRepository {

    Long addUser(User user);

    List<User> queryAllUser();

    User queryUserById(Long id);

}
